#pragma once
#include "ModelLoader.h"
#include "Entity.h"

class EntityManager
{
private:
	static EntityManager *	instance;
	EntityManager(EntityManager const &){};
	EntityManager& operator=(EntityManager const &){};
	EntityManager();
	GLuint					createGLIdForMesh(Mesh * mesh, bool * success);
	vector<Entity*>			entityList;

public:
	~EntityManager(void);
	static EntityManager *	get();
	Entity *				createEntity(const char * fileName);
	void					drawAll();
};

